<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>浮动列表排列</title>
</head>
<body>
    <div class="pb"><img src="./陈位霆.webp" alt=""></div>
    <div>
        <ul class="lists">
            <li class="cards"><img src="./1.png" alt="" ></li>
            <li class="cards"><img src="./2.png" alt=""></li>
            <li class="cards"><img src="./3.png" alt=""></li>
            <li class="cards"><img src="./4.png" alt=""></li>
            <li class="cards"><img src="./5.png" alt=""></li>
            <li class="cards"><img src="./6.png" alt=""></li>
            <li class="cards"><img src="./7.png" alt=""></li>
            <li class="cards"><img src="./8.png" alt=""></li>
        </ul>
    </div>
</body>
<style>
    .pb img{
        height: 505px;
        width: 230px;
        float: left;
    }
    .lists{
        list-style: none;
        background-color: rgb(0, 0, 3);
        width: 1200px;
        margin: 0;
        padding: 0;
    }
    .cards{
        width: 200px;
        height: 250px;
        background-color: gainsboro;
        float:left;
        margin-bottom: 5px;
        margin-left: 5px;
    }
    .cards img{
        width: 190px;
        height: 240px;
        margin: 5px;
    }
</style>
</html>